package org.yang.order.food.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.yang.order.food.dao.IndexMapper;
import org.yang.order.food.service.IndexService;
import org.yang.order.food.vo.FoodVo;

import java.util.List;
@Service
public class IndexServiceImpl implements IndexService {
    @Autowired
    private IndexMapper indexMapper;
    @Override
    public List<FoodVo> indexFoods() {
        return indexMapper.foodVos();
    }
}
